//
//  KYSettingItem.h
//  KYKJPackDemo
//
//  Created by Jordan zhou on 2017/9/21.
//  Copyright © 2017年 ???. All rights reserved.
//

#import <Foundation/Foundation.h>
@class KYSettingItem;
typedef void (^KYSettingItemOption)();
typedef void (^KYSettingItemOptionWithItem)(id item);
typedef id (^KYSettingItemOptionGetStr)();

@interface KYSettingItem : NSObject
@property (nonatomic, copy) NSString *icon;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subtitle;
@property (nonatomic, copy) NSString *detailLabel;
@property (nonatomic, copy) NSString *detailLeftLabel;
@property (nonatomic, copy) NSString *detailRightLabel;
@property (nonatomic, copy) NSString *badgeValue;
@property (nonatomic, copy) NSString *imageViewStr;
@property (nonatomic, weak) UIColor *titleColor;
@property (nonatomic, copy) KYSettingItemOption option;
@property (nonatomic, copy) KYSettingItemOptionWithItem optionWithItem;
@property (nonatomic, copy) KYSettingItemOptionGetStr optionReturnStr;

+ (instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title;

+ (instancetype)itemWithTitle:(NSString *)title;

+ (instancetype)item;
@end
